﻿using System.Web.Mvc;
using Site.Models;

namespace Site.Controllers
{
    public class FinishedGamesController : Controller
    {
        //
        // GET: /Finishedgames/

        public ActionResult Index()
        {
            if (Session["Username"] == null)
                return RedirectToAction("Index", "Home");
            return View(new FinishedGamesDTO(Session["USERNAME"].ToString()));
        }

    }
}
